package com.example.webflux.reactive;

import javax.sound.midi.Soundbank;

/**
 * @author lyl
 * @create 2021-07-18 20:56
 */
public class Reactive {
    public static void main(String[] args) {
        Icalcultor ic = i -> i * i;
        int square = ic.square(5);
        System.out.println(square);

        User user = new User();
        user.setUserName("lllll");
        String say = user.say((userName -> "hello  " + userName));
        System.out.println("say = " + say);
    }
}
